package conf

import (
	"micro-grpc-server/library/database"
	"micro-grpc-server/library/encrypt"
	"micro-grpc-server/library/logger"
	"micro-grpc-server/library/tracer"
	"micro-grpc-server/library/wechat"
)

type Config struct {
	ServerName string                    `yaml:"-"`
	Tracer     tracer.Configuration      `yaml:"Tracer"`
	Logger     logger.Configuration      `yaml:"Logger"`
	Database   database.Configuration    `yaml:"Database"`
	Redis      wechat.RedisConfiguration `yaml:"Redis"`
	Encrypt    encrypt.Configuration     `yaml:"Encrypt"`
}
